//
//  QXTestViewController.swift
//  QXWeibo
//
//  Created by QinXin on 15/6/23.
//  Copyright © 2015年 labi3285_Lab. All rights reserved.
//

import UIKit

class QXTestViewController: UIViewController {
    
//    let titleLabel = UILabel(frame: CGRectMake(0, 0, 100, 20))
    
    lazy var titleLabel: UILabel = {
        let label = UILabel(frame: CGRectMake(0, 0, 0, 0))
        label.text = "测试页面"
        label.backgroundColor = UIColor.whiteColor()
        label.sizeToFit()
        return label
    }()

    override func prefersStatusBarHidden() -> Bool {
        return true
    }

    override func viewDidLoad() {
        super.viewDidLoad()
        view.addSubview(titleLabel)
        
        view.backgroundColor = UIColor.redColor();
        
    }

}

